if [ "$grub_platform" = "pc" ]; then
  menuentry $"Boot from 1st hard/flash drive" --id 'sda' {
    insmod part_msdos
    insmod chain
    set oldroot="$root"
    set root=(hd0)
    chainloader +1
    set root="$oldroot"
  }

  menuentry $"Boot from 2nd hard/flash drive" --id 'sdb' {
    insmod part_msdos
    insmod chain
    set oldroot="$root"
    set root=(hd1)
    chainloader +1
    set root="$oldroot"
  }
fi
